package com.ims.core.enums;

/**
 * PostFromCo枚举类，用于表示  从订单过账  时的开票方式，包含按客户订单开票和手工开票两种情况
 * @author IMS
 */
public enum PostFromCo {
    BY_CUSTOMER_ORDER(1, "按客户订单开票"),
    MANUAL_INVOICING(0, "手工开票");

    private final int code;
    private final String name;

    PostFromCo(int code, String name) {
        this.code = code;
        this.name = name;
    }

    public int getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}